Optimal. Leaf size=122 \[ \frac {d x^{m+1} \left (a+b \tan ^{-1}(c x)\right )}{m+1}+\frac {e x^{m+3} \left (a+b \tan ^{-1}(c x)\right )}{m+3}-\frac {b x^{m+2} \left (\frac {c^2 d}{m+1}-\frac {e}{m+3}\right ) \, _2F_1\left (1,\frac {m+2}{2};\frac {m+4}{2};-c^2 x^2\right )}{c (m+2)}-\frac {b e x^{m+2}}{c \left (m^2+5 m+6\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {14, 4976, 459, 364} \[ \frac {d x^{m+1} \left (a+b \tan ^{-1}(c x)\right )}{m+1}+\frac {e x^{m+3} \left (a+b \tan ^{-1}(c x)\right )}{m+3}-\frac {b x^{m+2} \left (\frac {c^2 d}{m+1}-\frac {e}{m+3}\right ) \, _2F_1\left (1,\frac {m+2}{2};\frac {m+4}{2};-c^2 x^2\right )}{c (m+2)}-\frac {b e x^{m+2}}{c \left (m^2+5 m+6\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 364
Rule 459
Rule 4976
Rubi steps
\begin {align*} \int x^m \left (d+e x^2\right ) \left (a+b \tan ^{-1}(c x)\right ) \, dx &=\frac {d x^{1+m} \left (a+b \tan ^{-1}(c x)\right )}{1+m}+\frac {e x^{3+m} \left (a+b \tan ^{-1}(c x)\right )}{3+m}-(b c) \int \frac {x^{1+m} \left (\frac {d}{1+m}+\frac {e x^2}{3+m}\right )}{1+c^2 x^2} \, dx\\ &=-\frac {b e x^{2+m}}{c \left (6+5 m+m^2\right )}+\frac {d x^{1+m} \left (a+b \tan ^{-1}(c x)\right )}{1+m}+\frac {e x^{3+m} \left (a+b \tan ^{-1}(c x)\right )}{3+m}+\left (b c \left (-\frac {d}{1+m}+\frac {e}{c^2 (3+m)}\right )\right ) \int \frac {x^{1+m}}{1+c^2 x^2} \, dx\\ &=-\frac {b e x^{2+m}}{c \left (6+5 m+m^2\right )}+\frac {d x^{1+m} \left (a+b \tan ^{-1}(c x)\right )}{1+m}+\frac {e x^{3+m} \left (a+b \tan ^{-1}(c x)\right )}{3+m}-\frac {b c \left (\frac {d}{1+m}-\frac {e}{c^2 (3+m)}\right ) x^{2+m} \, _2F_1\left (1,\frac {2+m}{2};\frac {4+m}{2};-c^2 x^2\right )}{2+m}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.19, size = 119, normalized size = 0.98 \[ x^{m+1} \left (\frac {\frac {\left (d (m+3)+e (m+1) x^2\right ) \left (a+b \tan ^{-1}(c x)\right )}{m+1}-\frac {b c e x^3 \, _2F_1\left (1,\frac {m+4}{2};\frac {m+6}{2};-c^2 x^2\right )}{m+4}}{m+3}-\frac {b c d x \, _2F_1\left (1,\frac {m+2}{2};\frac {m+4}{2};-c^2 x^2\right )}{m^2+3 m+2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.50, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (a e x^{2} + a d + {\left (b e x^{2} + b d\right )} \arctan \left (c x\right )\right )} x^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \mathit {sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.23, size = 0, normalized size = 0.00 \[ \int x^{m} \left (e \,x^{2}+d \right ) \left (a +b \arctan \left (c x \right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {a e x^{m + 3}}{m + 3} + \frac {a d x^{m + 1}}{m + 1} + \frac {{\left ({\left (b e m + b e\right )} x^{3} + {\left (b d m + 3 \, b d\right )} x\right )} x^{m} \arctan \left (c x\right ) - {\left (m^{2} + 4 \, m + 3\right )} \int \frac {{\left ({\left (b c e m + b c e\right )} x^{3} + {\left (b c d m + 3 \, b c d\right )} x\right )} x^{m}}{{\left (c^{2} m^{2} + 4 \, c^{2} m + 3 \, c^{2}\right )} x^{2} + m^{2} + 4 \, m + 3}\,{d x}}{m^{2} + 4 \, m + 3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^m\,\left (a+b\,\mathrm {atan}\left (c\,x\right )\right )\,\left (e\,x^2+d\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \left (a + b \operatorname {atan}{\left (c x \right )}\right ) \left (d + e x^{2}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________